package atguigu06.polymorphism.exer1;

/**
 * ClassName: Circle
 * Package: atguigu06.polymorphism.exer1
 * Description:
 *
 * @Author BuTang
 * @Create 2023/3/8 9:36
 * @Version 1.0
 */
public class Circle extends GeometricObject{
    private double radius;


    public Circle( String color ,double radius,  double weight) {
        super(color, weight);
        this.radius = radius;
    }
    public double findArea(){
        return 3.14*radius*radius;
    }
}
